package com.caih.dios.shop.bff.modules.order.feign;
package com.caih.dios.shop.bff.modules.xxxx.feign;

import com.bering.common.core.feign.FeignClientConfig;
import com.caih.dios.shop.bff.common.vo.ResultMessage;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
* ${classInfo.classComment}
*
* @author ${authorName}
* @since ${.now?string('yyyy-MM-dd HH:mm aaa')}
*/
@FeignClient(name = "dios-shop-api",contextId = "${classInfo.className}Feign", configuration = FeignClientConfig.class)
public interface ${classInfo.className}Feign {


}

其他
@GetMapping(value = "/dios/order/afterSale/reason/getAfterSaleReason/{serviceType}")
ResultMessage<List<AfterSaleReason>> afterSaleReasonList(@PathVariable("serviceType") String serviceType);

@PostMapping(value = "/dios/order/afterSale/reason/save")
void save(@RequestBody AfterSaleReason afterSaleReason);

@GetMapping(value = "/dios/order/afterSale/reason/removeById/{id}")
void removeById(@PathVariable("id") String id);

@PostMapping(value = "/dios/order/afterSale/reason/updateById")
void updateById(@RequestBody AfterSaleReason afterSaleReason);

@PostMapping(value = "/dios/order/afterSale/reason/list")
ResultMessage<List<AfterSaleReason>> list(@RequestBody JSONObject obj);

@PostMapping(value = "/dios/order/afterSale/reason/remove")
void remove(@RequestBody JSONObject obj);

@PostMapping("/bff/brandBff/deleteBrands")
ResultMessage<Void> deleteBrands(@RequestBody DeleteBrandsDTO deleteBrandsDTO);

@PostMapping("/bff/brandBff/updateBrand")
ResultMessage<Boolean> updateBrand(@RequestBody BrandVO brandVO);

@PostMapping(value = "/bff/categoryBff/findByAllBySortOrder")
ResultMessage<List<Category>> findByAllBySortOrder(@RequestBody Category category);

@PostMapping(value = "/bff/categoryBff/getCategoryNameByIds")
ResultMessage<List<String>> getCategoryNameByIds(@RequestBody CategoryIdListBffDTO idListBffDTO);

@PostMapping(value = "/bff/categoryBff/saveOrUpdateBatch")
ResultMessage<List<String>> saveOrUpdateBatch(@RequestBody List<Category> categoryList);